package com.go.where.family.utils;


public class Test {

	public static void main(String[] args) throws Exception {
		String url = "http://127.0.0.1:8000/douyang_api/testApi.cgi?parameter1=2014032100000097&parameter2=G0411&parameter3=cc28ed1e39a3d38ea1468fb6ef0413fc";

		HttpClient hc = new HttpClient();

		String r = hc.doGet( url, "utf-8" );
		System.out.println( r );
//		HttpServerStartMain.APPLICATION_CONTEXT = new ClassPathXmlApplicationContext(
//		"applicationContext.xml");
//		System.out.println(HttpServerStartMain.APPLICATION_CONTEXT.getBean("testService"));
	}
}
